/**
 * 
 */
package com.et114.modules.products.search;

import java.util.List;

import com.et114.components.junit.BaseTestCase;
import com.et114.components.simpletable.DataList;

/**
 * @author guanhw
 *
 */
public class TestSearch extends BaseTestCase {
	
	@ SuppressWarnings ( "unchecked" )
	public void tests( ) throws Exception {
		SearchService searchCompass = ( SearchService ) getBean( "searchCompass" ) ;
		SearchVo s =  searchCompass.getPro ( new Long( 20 ) , Byte.parseByte ( "1" ) ) ; 
		logger.info ( "ss" + s.getProId ( ) ) ;
		
		searchCompass.removePro ( new Long( 20 ) , Byte.parseByte ( "1" )  ) ;
//		List< SearchVo > ss = dl.getNowlist ( ) ; 
//		logger.info ( "sssssw:" + ss.size ( ) ) ;
//		for ( SearchVo s : ss ) {
//			logger.info ( "///" + s.getProId ( ) ) ; 
//		}
	}
	
	/**
	 * @param args
	 */
	public static void main ( String [ ] args ) {
		// TODO Auto-generated method stub
		
	}
	
}
